package br.com.lh.urabuilder.view.base
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	/**
	 * Interface for views that contain a confirmationBar component. 
	 * Determine which events are thrown on both ok and cancel operations. 
	 * 
	 * 
	 * @author Luiz Henrique
	 * 
	 */
	public interface ConfirmationBarContainer{
		/**
		 * @return the event that will be thrown when the user clicks on ok button. 
		 */
		function okEvent():CairngormEvent;
		
		/**
		 * @return the event that will be thrown when the user clicks on cancel button. 
		 */
		function cancelEvent():CairngormEvent;
		
		function closePopup():void;
		
		function get validatorArray():Array;
				
	}
}